<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header"/>
</head>
<body>
<div class="layui-fluid">
    <form class="layui-form layui-row layui-col-space16">
        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">字典排序</label>
                <div class="layui-input-block">
                    <input type="text" name="sort" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">字典标签</label>
                <div class="layui-input-block">
                    <input type="text" name="label" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">字典键值</label>
                <div class="layui-input-block">
                    <input type="text" name="value" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">字典类型</label>
                <div class="layui-input-block">
                    <input type="text" name="dictType" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">状态（0正常 1停用）</label>
                <div class="layui-input-block">
                    <input type="text" name="status" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">颜色类型</label>
                <div class="layui-input-block">
                    <input type="text" name="colorType" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>

        <div class="layui-col-sm3">
            <div class="layui-form-item">
                <label class="layui-form-label">css 样式</label>
                <div class="layui-input-block">
                    <input type="text" name="cssClass" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>


        <div class="layui-col-sm3">
            <div class="layui-btn-container">
                <button class="layui-btn" lay-submit lay-filter="id_search">搜索</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>

    </form>
    <table class="layui-hide" id="id_table"></table>
</div>
<div id="id_add_dialog" style="display: none;">
    <div class="layui-container">
        <form class="layui-form layui-form-pane" lay-filter="id_from_dialog" action="">
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>字典排序</label>
                <div class="layui-input-block">
                    <select name="sort" lay-filter="sort" lay-search></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>字典标签</label>
                <div class="layui-input-block">
                    <select name="label" lay-filter="label" lay-search></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>字典键值</label>
                <div class="layui-input-block">
                    <select name="value" lay-filter="value" lay-search></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>字典类型</label>
                <div class="layui-input-block">
                    <select name="dictType" lay-filter="dictType" lay-search></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>状态（0正常 1停用）</label>
                <div class="layui-input-block">
                    <select name="status" lay-filter="status" lay-search></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>颜色类型</label>
                <div class="layui-input-block">
                    <select name="colorType" lay-filter="colorType" lay-search></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><span style="color:red">*</span>css 样式</label>
                <div class="layui-input-block">
                    <select name="cssClass" lay-filter="cssClass" lay-search></select>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/html" id="operatorCol">
    <div class="layui-clear-space">
        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-xs" lay-event="del">删除</a>
    </div>
</script>
<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/laypro/layui.config.js}"></script>
<script>
    // layui.use(['SystemDictData'], function () {
    //     console.log('请在 layui.config.js 中找到该模块地址')
    // });
</script>
</body>
</html>
